<h1>My list of Girls</h1>
<table cellspacing="0">
  <thead>
    <tr>
      <th>Name</th>
      <th>Points worth</th>
      <th>Rating</th>
      <th>Bonus</th>
      <th>Deja vu?</th>
      <th>Nationality</th>
      <th>Description</th>
      <th>Total points</th>
    </tr>
  </thead>
  <tbody>
  
  <?php foreach ($girls as $girl): ?>
    <tr>
      <td><a href="<?php echo url_for('profile/show?id='.$girl->getId()) ?>"><?php echo $girl->getName() ?></a></td>
      <td><?php echo $girl->getPointWorth() ?></td>
      <td><?php echo $girl->getRating() ?></td>
      <td><?php echo $girl->getBonus() ?></td>
      <td><?php echo $girl->getDejavu() ?></td>
      <td><?php echo $girl->getNationality() ?></td>
      <td><?php echo (strlen($girl->getDescription())>0)?substr($girl->getDescription(),0,15) . "...":"" ?></td>
      <td><?php echo $girl->getTotalPoints() ?></td>
    </tr>
  <?php endforeach; ?>
  </tbody>
</table>